package com.balabala.gym_system.service;

import com.balabala.goods.pojo.vo.BookCourseDto;
import com.balabala.gym_system.pojo.dto.ReservationInfoQueryDto;
import com.balabala.gym_system.pojo.dto.ReservationListDto;
import com.balabala.gym_system.pojo.entity.ReservationInfo;
import com.balabala.gym_system.pojo.vo.CourseInfoVo;
import com.balabala.gym_system.pojo.vo.ReservationInfoVo;

import java.util.List;

public interface ReservationInfoService {

    //查询全部
    List<ReservationInfo> findAll();


    //列表查询
    List<ReservationInfoVo> findList(ReservationInfoQueryDto reservationInfoQueryDto);

    //新增预约记录
    void addReservationInfo(ReservationInfo reservationInfo);

    //根据id删除
    void deleteById(Long id);

    //根据id改变签到状态
    void updateStatusById(Long id);

    //根据排课id查询排课预约记录
    List<ReservationInfoVo> findListByBookId(Long id);

    //根据排课id查询排课详情信息
    CourseInfoVo findByScheduleId(Long scheduleId);

}
